package com.ruoyi.weixin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.weixin.entity.Account;
import com.ruoyi.weixin.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


/**
 * (Account)表数据库访问层
 *
 * @author makejava
 * @since 2024-01-02 17:19:56
 */
public interface AccountsMapper extends BaseMapper<Account> {


    MouthVo getMounth(@Param("accountPararm") AccountPararm accountPararm);

    IPage<Total> getDay(Page<Total> page ,@Param("accountPararm") AccountPararm accountPararm);

    List<Account> getAccount(@Param("date") Date date,@Param("userId") Integer userId);

    IPage<Account> selectPaihang(Page<Account> page,@Param("paihang")  Paihang paihang);

    List<MouthVo> yearAcount(@Param("paihang")  Paihang paihang);

    List<String> getyearList(@Param("userId") Integer userId);
}

